package com.leyou.item.api;

import com.leyou.item.pojo.Brand;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @author shkstart
 * @create 2020-04-22 8:25
 */
@RequestMapping("brand")
public interface BrandApi {
    //根据品牌ID查询brand对象
    @GetMapping("{brandId}")
    public Brand getBrandByBrandId(@PathVariable("brandId")Long brandId);



}
